package com.fuyao.cloud.admin.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fuyao.cloud.admin.flow.model.FlowableActRuActinst;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface IFlowableActRuActinstMapper extends BaseMapper<FlowableActRuActinst> {

    List<FlowableActRuActinst> getActRuActinstsByProcessInstanceIdAndActId(@Param("processInstanceId") String processInstanceId, @Param("disActivityId") String disActivityId);

    List<FlowableActRuActinst> getActRuActinstsByProcessInstanceIdAndEndTime(@Param("processInstanceId") String processInstanceId, @Param("endTime") Date endTime);

    List<FlowableActRuActinst> getFlowableActRuActinstByFlowableActRuActinst(@Param("actRuActinst")FlowableActRuActinst actRuActinst) ;
}
